package cn.com.oceansoft.business.danger.service;

import cn.com.oceansoft.business.base.entity.Pager;
import cn.com.oceansoft.business.base.entity.Query;
import cn.com.oceansoft.business.base.entity.Result;
import cn.com.oceansoft.business.danger.entity.*;

import java.util.List;

/**
 * Created by lenovo on 2018/5/3.
 */
public interface IDangerContentService {
    Pager<DangerContent> getNrList(Query query);

    DangerContent getInfoDetail(DangerContent dangerContent);

    List<DangerContent> getInfoPic(DangerContent dangerContent);

    List<CollecterInfo> getDictList(DangerContent dangerContent);

    List<Flowinfo> getInfoDetailLz(Flowinfo flowinfo);

    List<DangerContent> getInfoPicfk(DangerContent dangerContent);

    List<Flowinfo> getInfoDetailJg(Flowinfo flowinfo);

    Flowinfo getInfoDetailOne(Flowinfo flowinfo);

    Pager<DangerContent> getNrListWithName(Query query);

    Result submitFlowInfo(Flowinfo flowinfo);

    Flowinfo getFlowInfo(String id, String i);

    void updateCfZg(String id, String dangerid);

    List<Flowinfo> getInfoDetailOneList(Flowinfo flowinfo);

    Pager<DangerContent> getNrListWithNameQ(Query query);

    List<Flowinfo> getListFlowInfo(Flowinfo flowinfo);

    Cfcs getCfcs(String id);

    Zgcs getZgcs(String id);

    List<Attach> getPicFK(String id);

    /**
     * 获取地区和类型统计数的详情列表
     *
     * @param query
     * @return
     */
    Object getTypeDetailList(Query query);

    /**
     * 获取地区和整改措施的详情列表
     *
     * @param query
     * @return
     */
    Pager<DangerContent> xxtjDetailList(Query query);


    Pager<DangerContent> getQytjDetail(Query query);
}
